/**
 * @param {string} s
 * @param {string} t
 * @return {boolean}
 */
var isAnagram = function (s, t) {
  if (s === t) return false
  const sStr = Array.from(s).sort().join()
  const tStr = Array.from(t).sort().join()
  return sStr === tStr
}
const result = isAnagram('a','a')
console.log("🚀 ~ result:", result)
